import React from 'react';
import { View } from 'react-native';
import styles from '../styles';
import Button from '../../../../components/Button';

export default ({ onPress, status }) => {
  return (
    <View style={styles.bottom}>
      <Button
        title="参加活动"
        onPress={onPress}
        type="primary"
        disabled={status === 2}
      />
    </View>
  );
};
